import { NzTableFilterFn, NzTableFilterList, NzTableSortFn, NzTableSortOrder } from 'ng-zorro-antd/table';

export interface Student {
  stuid: any;
  name: string;
  sex: string;
  birthday: string;
  native_place: string;
  class: string;
  major: string;
  time_of_enrollment: string;
}

export interface Login {
  stuid: string;
  password: string | number;
}
export interface Course {
  courseid: string;
  score: number;
  stuid: number;
}
export interface CourseInfo {
  courseid: string;
  coursename: string;
  credit: number;
  type: string;
}
export interface Studentcourse {
  Courseid: string;
  coursename: string;
  stuid: string|number;
  credit: number;
  type: string;
  score: number;
  gradepoint: number;
}
export interface Studentgrade {
  major: string;
  class: string;
  Courseid: string;
  coursename: string;
  stuid: string|number;
  credit: number;
  type: string;
  score: number;
  gradepoint: number;
}
export interface ColumnItem {
  name: string;
  sortOrder?: NzTableSortOrder;
  sortFn?: NzTableSortFn;
  listOfFilter?: NzTableFilterList;
  filterFn?: NzTableFilterFn;
  filterMultiple?: boolean;
  sortDirections?: NzTableSortOrder[];
}
// tslint:disable-next-line:class-name
export interface studentGPA {
  name: string;
  class: string;
  major: string;
  totalCredits: number;
  stuid: string|number;
  GPA: number;
}
export interface StudentCCC {
  stuid: string|number;
  score: number;
  courseid: string;
  credit: number;
}
export interface CourseGPA {
  courseid: string;
  coursename: string;
  credit: number;
  type: string;
  peopleNumber: number;
  AveGPA: number;
}
export interface CourseSelect {
  stuid: number;
  name: string;
  class: string;
  major: string;
  score: number;
}
